<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title>用户注册</title>
		<link rel="stylesheet" type="text/css" href="./css/redister.css">

	</head>

	<body>
		<div class="regist">
			<div class="regist_center">
				<div class="regist_top">
					<div class="headImg">
						<img src="image/logo_top.png" />
					</div>
					<h2>注册道恩账号</h2>
				</div>
				<div class="regist_main ">
					<div class="username">
						<h2>我们已经发送一条短信到<span>+86 15236989654</span></h2>
						<p>请输入短信中的验证码</p>
						<div class="section sections">
							<input type="text" placeholder="请输入验证码" />
							<div class="sendNum" onclick="timeset()">
								重新发送
							</div>
						</div>
						<span class="xinxi">今天还能发送2条短信</span>

					</div>

					<div class="regist_submit">
						<button class="submit submit01" name="submit" value="下一步">下一步</button>
						<button class="submit submit02" name="submit" value="返回">返回</button>
					</div>

				</div>
			</div>
		</div>
		<footer>
			<div class="copyright">简体 | 繁体 | English | 常见问题</div>
			<div class="copyright">小米公司版权所有-京ICP备10046444-<img src="./image/ghs.png" alt="">京公网安备11010802020134号-京ICP证110507号</div>
		</footer>
		<script src="http://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script>
		<script type="text/javascript">
			//倒计时
			timeset();

			function timeset() {
				var time = 59;
				var settime = setInterval(function() {
					if(time == 0) {
						clearInterval(settime);
						$(".sendNum").html("获取验证码");
						$(".sendNum").attr("disabled", false);
					} else {
						$(".sendNum").html(time + "秒后重试");
						$(".sendNum").attr("disabled", true);
					}
					time--;
				}, 1000);
			}
			$(".submit01").click(function() {
				window.location.href = "shezhimima.html";
			});
			$(".submit02").click(function() {
				window.location.href = "register.html";
			});
		</script>
	</body>

</html>